<template>
  <div class="my_div">
    <img
      src="https://img2.baidu.com/it/u=3094984651,3354074579&fm=253&fmt=auto&app=138&f=JPEG?w=500&h=495"
      alt=""
    />
    <p>天生一副笑脸的狗</p>
  </div>
</template>

<script>
export default {}
</script>

<style>
.my_div {
  width: 200px;
  border: 1px solid black;
  text-align: center;
  float: left;
}

.my_div img {
  width: 100%;
  height: 200px;
}
</style>
